#{extends 'template/main.html' /}
#{set title:'Login' /}
 
 <link rel="stylesheet" media="screen" href="@{'/public/bootstrap3/css/signin.css'}">	
<br/><br/><br/><br/>

      <form class="form-signin" action="@{Login.tryLogin()}">
        <h2 class="form-signin-heading">Login</h2>
        <input type="text" class="form-control" name="p.login"  placeholder="Usuário" autofocus="">
        <input type="password" class="form-control" name="p.senha"  placeholder="Senha">
        <label class="checkbox">
          <input type="checkbox" value="remember-me"> Remember me
        </label>
        <button class="btn btn-lg btn-success btn-block" type="submit">Entrar</button>
      #{ifErrors}<br/>
<div class="alert alert-danger">Senha ou Usuário Invalido!!!</div>
   
#{/ifErrors}
      </form>

 

    
    
    